<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%
int number=((Integer)request.getAttribute("number"));
System.out.println("글 쓰기 부분 " + number);
%>
<html>
<head>
	<title>MVC 게시판</title>
	<script language="javascript">
	function addboard(){
		$("#boardform").submit();
	}
</script>
<style type="text/css">
	a.black:link, a.black:visited, a.black:active{color: black; text-decoration:none;}
</style>

</head>

<body>

<!-- 게시판 등록 -->
<form action="./BoardAddAction.bo?number=<%=number%>" method="post" enctype="multipart/form-data" id="boardform">

<table cellpadding="0" cellspacing="0" width="700" align="center" style="border: 1px solid #e6e6e6">
	<tr height="60">
		<td>&nbsp;</td>
		<td colspan="2">
			&nbsp;&nbsp;<img alt="" src="<%=request.getContextPath() %>/photo/img/Komori_Logo.png">
		</td>
		<td>&nbsp;</td>
	</tr>
	<tr height="30">
		<td width="30"></td>
		<td>
			<img alt="" src="<%=request.getContextPath() %>/photo/img/Mybold_Us_N.png">
		</td>
		<td>&nbsp;
			<input name="QNA_NICK" type="text" size="16" maxlength="16" />
		</td>
		<td></td>
	</tr>
	
	<tr height="30">
		<td></td>
		<td>
			<img alt="" src="<%=request.getContextPath() %>/photo/img/Mybold_Ps_N.png">
		</td>
		<td>&nbsp;
			<input name="QNA_PASS" type="password" size="16" maxlength="10" value=""/>
			<img alt="" src="<%=request.getContextPath() %>/photo/img/Mybold_Ps_N_A.png" style="vertical-align: middle;">
		</td>
		<td></td>
	</tr>
	
	<tr height="30">
		<td></td>
		<td>
			<img alt="" src="<%=request.getContextPath() %>/photo/img/Mybold_Ti_N.png">
		</td>
		<td>&nbsp;
			<input name="QNA_SUBJECT" type="text" size="70" maxlength="70" 
				value=""/>
		</td>
		<td></td>
	</tr>
	
	<tr>
		<td></td>
		<td >
			<img alt="" src="<%=request.getContextPath() %>/photo/img/Mybold_Co_N.png">
		</td>
		<td>&nbsp;
			<textarea name="QNA_CONTENT" cols="60" rows="15"></textarea>
		</td>
		<td></td>
	</tr>
	
	<tr>
		<td></td>
		<td >
			<img alt="" src="<%=request.getContextPath() %>/photo/img/Mybold_At_N.png">
		</td>
		
		<td>&nbsp;
			<input name="file" type="file" class="textfield_small" style="filter:alpha(opacity:100);width:330;cursor:hand" onChange="document.frm_qna_write.extra_file.value=this.value; this.blur();"> 		
		</td>
		<td></td>
		
	</tr>
	<tr bgcolor="cccccc">
		<td></td>
		<td colspan="2" style="height:1px;"></td>
		<td></td>
	</tr>
	<tr>
		<td></td>
		<td colspan="2">&nbsp;</td>
		<td></td>
	</tr>
</table>
<table align="center">
	<tr><td colspan="4">&nbsp;</td></tr>
	<tr align="center" valign="middle">
		<td></td>
		<td colspan="2" style="font-size: 12">
			<a href="javascript:addboard()" class="black"><img alt="" src="<%=request.getContextPath() %>/photo/img/Mybold_Join.png"> </a>&nbsp;&nbsp;
			<a href="javascript:history.go(-1)" class="black"><img alt="" src="<%=request.getContextPath() %>/photo/img/Mybold_BeFore.png"></a>
		</td>
		<td></td>
	</tr>
</table>

</form>


<!-- 게시판 등록 -->
</body>
</html>